package com.pig4cloud.pig.resident.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.resident.feign.dto.ResidentDto;
import com.pig4cloud.pig.resident.feign.entity.Resident;

import java.util.List;

public interface ResidentService extends IService<Resident> {
    Resident checkPhone(Resident resident);

    List<Resident> getResident(Long roomId);

	List<ResidentDto> getUnResident(ResidentDto residentDto);

	void deleteResident(Long[] ids, Long roomId);

	void addRelativeResident(Long[] ids, Long roomId);

    String[] getResidentPhone(Long roomId);
}
